#include <bits/stdc++.h>
using namespace std;
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
using ll = long long;
void solve()
{
    // a+b   %4   ==   3
    ll n;
    cin >> n;
    if (n % 4 == 0)
    {
        cout << "Bob\n";
    }
    else
        cout << "Alice" << endl;
}
int main()
{
    int t = 1;
    cin >> t;
    while (t--)
    {
        solve();
    }
    return 0;
}
